package com.ljkj.blockpay.basedata;

import android.text.TextUtils;

import com.ljkj.blockpay.network.response.HttpErrorCode;

/**
 * Created by tianping on 2020/2/1.
 */

public class BaseModel  {
    public String code;//错误码
    public String message;//错误信息

    public boolean isSuccess() {
        return TextUtils.equals(code, HttpErrorCode.SUCCESS);
    }
}
